package cn.net.msg.cxf.webservice;

import java.util.List;

import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;

import cn.net.msg.model.ReturnBean;
import cn.net.msg.model.ReturnPointBean;
import cn.net.msg.model.TbFavourite;
import cn.net.msg.model.TbUser;

/**
 * <p>
 * FileName: IMemberWebService.java
 * </p>
 * <p>
 * Description: member的cxf服务接口
 * <p>
 * Copyright: surepassserver(c) 2012
 * </p>
 * <p>
 * @author Vic Su
 * </p>
 * <p>
 * @content andyliu900@gmail.com
 * </p>
 * <p>
 * @version 1.0
 * </p>
 * <p>
 * CreatDate: 2012-12-6 下午10:22:33
 * </p>
 * <p>
 * Modification History
 */

@WebService
@SOAPBinding(style = Style.RPC)
public interface IMemberWebService {

    public ReturnBean loginUser(@WebParam(name = "tbUser") String LoginUserJSONObject);

    public ReturnBean checkUser(@WebParam(name = "name") String name,@WebParam(name = "email") String email);

    public ReturnBean regUser(@WebParam(name = "tbUser") String RegUserJSONObject);

    public ReturnBean deleteUser(@WebParam(name = "id") long id);

    public ReturnBean updateUserInfo(@WebParam(name = "tbUser") String MemberJSONObject);

    public TbUser getUserInfo(@WebParam(name = "loginUserId") long loginUserId);

    public void uploadUserPoints(@WebParam(name = "userList") String userListJsonObject);

    public ReturnPointBean getUserPoint(@WebParam(name = "userid") long userid);

    public ReturnBean sendForgetpasswordEmail(@WebParam(name = "email") String email);

    public List<TbFavourite> getUserFavouriteForList(@WebParam(name = "userid") long userid,@WebParam(name = "maxresult")int maxresult,
            @WebParam(name = "currentpage")int currentpage);
}
